#ifndef SEARCHRESULT_H
#define SEARCHRESULT_H

#include <QObject>
#include <QStringList>

class SearchResult : public QObject
{
    Q_OBJECT
    Q_PROPERTY(QString     location             WRITE setLocation  READ getLocation)
    Q_PROPERTY(QStringList results              WRITE setResult    READ getResults)
public:
    explicit SearchResult(QObject *parent = 0);
    SearchResult(QString location, QStringList results);
    
    QString     getLocation() const          {return m_location;}
    QStringList getResults()  const          {return m_results;}

    void        setLocation(QString location){ m_location = location;}
    void        setResult(QStringList result){ m_results  = result;}

signals:
    
public slots:

private:
    QString        m_location;
    QStringList    m_results;
};

#endif // SEARCHRESULT_H
